connect

<div class="more_link" style="display:none">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;" id="content4">
        <legend>关联板块</legend>
    </fieldset>
    <br/>


    <div class="">
        <?php
        $type_list  = select_lines_all_items($table=$table_Prefix.'plate','nid desc'," link_menu = 1 " )
        ?>
        <div class="layui-form-item">
            <label class="layui-form-label">搜索关联文章类型</label>
            <div class="layui-input-block">
                <?php foreach($type_list as $val){?>
                    <input name="article_type[]" value="<?php echo $val['mid']?>" title="<?php echo $val['name']?>" type="checkbox">
                <?php }?>
                <br />
                <br />
                <div class="layui-btn layui-btn-sm layui-btn-warm search_btn">搜索相关内容</div>
            </div>

        </div>

        <div style="position:relative;">

            <div id="test4" class="demo-transfer"></div>
            <div class="buttonDiv">
                <button type="button" class="layui-btn layui-btnUpDownmax upMaxBtn" onclick="moveUpMax('test4')">
                    <i class="layui-icon">&#xe619;</i>
                    <i class="layui-icon">&#xe619;</i>
                </button>
                <button type="button" class="layui-btn layui-btnUpDown upBtn" onclick="moveUp('test4')">
                    <i class="layui-icon">&#xe619;</i>
                </button>
                <button type="button" class="layui-btn layui-btnUpDown downBtn" onclick="moveDown('test4')">
                    <i class="layui-icon">&#xe61a;</i>
                </button>
                <button type="button" class="layui-btn layui-btnUpDownmax downMaxBtn" onclick="moveDownMax('test4')">
                    <i class="layui-icon">&#xe61a;</i>
                    <i class="layui-icon">&#xe61a;</i>
                </button>

            </div>
        </div>
    </div>
</div>
<hr/>

<div class="attr_box" style=" display:none">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;" id="content4">
        <legend>产品属性</legend>
    </fieldset>
    <br/>
    <table width="100%" id="gallery-table" align="center">

        <tr>
            <td>
                <a href="javascript:;" onclick="addImg(this)">[+]</a>
                图片标题  <input type="text" name="img_title[]" size="20" />
                图片描述  <input type="text" name="img_desc[]" size="20" />
                上传图片  <input type="file" name="img_url[]" />
                图片价格  <input type="text"  style="color:#aaa;" name="img_price[]"/>
            </td>
        </tr>

    </table>
</div>

<div class=" goods_attr_box" style="display:none;"  >
    <?php
    $goods_list = select_lines_all_items($table_Prefix . "detail", ' nid  desc ' , " belong = 'product' and publish = 1 ");

    foreach($goods_list as $key=>$val){
        $new_goods_list[$key]['title'] = $val['name'];
        $new_goods_list[$key]['value'] = $val['nid'];
    }

    $json_goods_list = json_encode($new_goods_list);


    ?>
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;" id="content5">
        <legend>关联商品</legend>
    </fieldset>
    <br/>


    <div style="position:relative;">
        <div id="test5" class="demo-transfer"></div>
        <div class="buttonDiv">
            <button type="button" class="layui-btn layui-btnUpDownmax upMaxBtn" onclick="moveUpMax('test5')">
                <i class="layui-icon">&#xe619;</i>
                <i class="layui-icon">&#xe619;</i>
            </button>
            <button type="button" class="layui-btn layui-btnUpDown upBtn" onclick="moveUp('test5')">
                <i class="layui-icon">&#xe619;</i>
            </button>
            <button type="button" class="layui-btn layui-btnUpDown downBtn" onclick="moveDown('test5')">
                <i class="layui-icon">&#xe61a;</i>
            </button>
            <button type="button" class="layui-btn layui-btnUpDownmax downMaxBtn" onclick="moveDownMax('test5')">
                <i class="layui-icon">&#xe61a;</i>
                <i class="layui-icon">&#xe61a;</i>
            </button>

        </div>
    </div>

</div>